package cn.iocoder.yudao.module.erp.controller.admin.common.unique.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Max-u-19
 */
@Schema(description = "管理后台 - 通用方法-订单号验重 Request VO")
@Data
public class UniqueNoReqVO {
    @Schema(description = "订单号", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "订单号不能为空")
    private String no;
    @Schema(description = "类型名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "UniquePurchaseNo")
    @NotEmpty(message = "类型名称不能为空")
    private String beanName;
}
